home *** CD-ROM | disk | other *** search
/ SGI IndiZone 2 / SGI IndiZone 2.iso / OutOfBox.idb / usr / people / tour / .4Dwmrc.z / .4Dwmrc (.txt)
Text File  |  1994-12-16  |  7KB  |  225 lines

  1. !
  2. ! Copyright (C) 1992 Silicon Graphics, Inc. All rights reserved.
  3. ! (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  4. ! ALL RIGHTS RESERVED 
  5. ! Motif Release 1.2
  6.  
  7. ################################################################################
  8. #                                                                              #
  9. #                        4Dwm RESOURCE DESCRIPTION FILE                        #
  10. #                        (system.4Dwmrc, $HOME/.4Dwmrc)                        #
  11. #                                                                              #
  12. # This file is less imposing than it seems at first glance.  It includes       #
  13. # two clearly identified sets of values.                                       #
  14. #                                                                              #
  15. #    * OSF original values -- included so that anyone who wants to either   #
  16. #      use the original OSF values or see what changes SGI has made has     #
  17. #      an easy way to do so.                                                #
  18. #                                                                              #
  19. #    * 4Dwm values -- uses a superset of mwm functions, and takes           #
  20. #      advantage of new features in 4Dwm.  Settings which establish SGI's   #
  21. #       default end user environment are included here.               #
  22. #                                                                              #
  23. # We provide both versions to allow easy user switching and comparison         #
  24. # between them.                                                                #
  25. #                                                                              #
  26. #                                                                              #
  27. #   NOTE: To personalize this file, copy this file before editing it.          #
  28. #         Personalize copies of the 4Dwm resource file typically               #
  29. #         reside as:                                                           #
  30. #                                                                              #
  31. #      $HOME/.4Dwmrc                                                          #
  32. #                                                                              #
  33. ################################################################################
  34.  
  35.  
  36.  
  37. ################################################################################
  38. #                                                                              #
  39. #                         BUTTON BINDING DESCRIPTIONS                          #
  40. #                                                                              #
  41. ################################################################################
  42.  
  43. !!
  44. !! OSF Button Binding Description(s)
  45. !!
  46.  
  47. Buttons DefaultButtonBindings
  48. {
  49.     <Btn1Down>    icon|frame    f.raise
  50.      <Btn3Down>    icon|frame    f.post_wmenu
  51. !    <Btn3Down>    root        f.menu    DefaultRootMenu
  52. }
  53.  
  54. Buttons ExplicitButtonBindings
  55. {
  56.     <Btn1Down>    frame|icon    f.raise
  57.      <Btn3Down>    frame|icon    f.post_wmenu
  58. !    <Btn3Down>    root        f.menu    DefaultRootMenu
  59. !    <Btn1Up>    icon        f.restore
  60.     Alt<Btn1Down>    window|icon    f.lower
  61. !    Alt<Btn2Down>    window|icon    f.resize
  62. !    Alt<Btn3Down>    window|icon    f.move
  63.  
  64. }
  65.  
  66. Buttons PointerButtonBindings
  67. {
  68.     <Btn1Down>    frame|icon    f.raise
  69.     <Btn3Down>    frame|icon    f.post_wmenu
  70.     <Btn3Down>    root        f.menu    DefaultRootMenu
  71.     <Btn1Down>    window        f.raise
  72. !    <Btn1Up>    icon        f.restore
  73.     Alt<Btn1Down>    window|icon    f.lower
  74. !    Alt<Btn2Down>    window|icon    f.resize
  75.     Alt<Btn3Down>    window|icon    f.move
  76. }
  77.  
  78.  
  79. !!
  80. !! SGI 4Dwm Button Binding Descriptions
  81. !!
  82. Buttons 4DwmButtonBindings
  83. {
  84.         <Btn1Down>    root        f.menu    4DwmRootMenu
  85. !       <Btn1Down>    window        f.raise
  86.         <Btn1Click>    frame        f.raise
  87. !    Click, so we don't disable the Btn1Down ability to move the icon.
  88. !    Btn1Down doing an f.move is in the OSF manuals.
  89.         <Btn1Click>    icon        f.restore
  90.     Ctrl<Btn1Down>    frame|icon    f.lower
  91.    Shift<Btn1Down>    frame|icon    f.raise
  92. Shift Ctrl<Btn1Down>    window          f.raise_resize
  93.  
  94.         <Btn2Down>    frame|icon    f.move
  95.     Ctrl<Btn2Down>    frame|icon    f.lower
  96.    Shift<Btn2Down>    frame|icon    f.raise
  97. Shift Ctrl<Btn2Down>    window          f.raise_move
  98.  
  99.         <Btn3Down>    root        f.menu    4DwmRootMenu
  100.         <Btn3Down>    frame|icon    f.post_wmenu
  101.     Ctrl<Btn3Down>    frame|icon    f.post_wmenu
  102.    Shift<Btn3Down>    frame|icon    f.post_wmenu
  103. !    Meta<Btn3Down>    window|icon    f.post_wmenu
  104. Shift Ctrl<Btn3Down>    window          f.post_wmenu
  105. }
  106.  
  107.  
  108. ################################################################################
  109. #                                                                              #
  110. #                          KEY BINDING DESCRIPTIONS                            #
  111. #                                                                              #
  112. ################################################################################
  113.  
  114. !!
  115. !! OSF Key Binding Description
  116. !!
  117.  
  118. Keys DefaultKeyBindings
  119. {
  120. }
  121.  
  122.  
  123. !!
  124. !! SGI 4Dwm Key Binding Description
  125. !!
  126. Keys 4DwmKeyBindings
  127. {
  128. }
  129.  
  130.  
  131. ################################################################################
  132. #                                                                              #
  133. #                          ROOT MENU PANE DEFINITIONS                          #
  134. #                                                                              #
  135. ################################################################################
  136.  
  137. !!
  138. !! OSF Root Menu Description (this menu must be explicitly posted via f.menu)
  139. !!
  140.  
  141. Menu DefaultRootMenu
  142. {
  143.     "Root Menu"        f.title
  144.     "New Window"        f.exec "xterm &"
  145.     "Shuffle Up"        f.circle_up
  146.     "Shuffle Down"        f.circle_down
  147.     "Refresh"        f.refresh
  148.     "Pack Icons"        f.pack_icons
  149. !    "Toggle Behavior..."    f.set_behavior
  150.      no-label        f.separator
  151.     "Restart..."        f.restart
  152. !    "Quit..."        f.quit_mwm
  153.  
  154. }
  155.  
  156. Menu RootMenu_1.1
  157. {
  158.     "Root Menu"        f.title
  159.     "New Window"        f.exec "xterm &"
  160.     "Shuffle Up"        f.circle_up
  161.     "Shuffle Down"        f.circle_down
  162.     "Refresh"        f.refresh
  163. !    "Pack Icons"        f.pack_icons
  164. !    "Toggle Behavior"    f.set_behavior
  165.     no-label        f.separator
  166.     "Restart..."        f.restart
  167. }
  168.  
  169.  
  170. !!
  171. !! SGI 4Dwm Root Menu Descriptions
  172. !!
  173. Menu 4DwmRootMenu
  174. {
  175.         "4D Window Manager"             f.title
  176.     "Log Out"          _L    f.exec "/usr/bin/X11/endsession"
  177. }
  178.  
  179. Menu 4DwmLongRootMenu
  180. {
  181.     "4D Window Manager"        f.title
  182. !    "New Window"          _N    f.exec "xterm &"
  183.     "Shuffle Up"          _U    f.circle_up
  184.     "Shuffle Down"          _D    f.circle_down
  185.     "Tidy Icons"          _T    f.pack_icons
  186.     "Minimize All"          _M    f.minimize_all
  187.     "Restore All"          _A    f.restore_all
  188.     "Refresh All"          _f    f.refresh
  189.     no-label            f.separator
  190.     "Restart 4Dwm"          _R    f.restart
  191.     "Quit 4Dwm"          _Q    f.quit_mwm
  192.     no-label            f.separator
  193.     "Log Out"          _L    f.exec "/usr/bin/X11/endsession"
  194. }
  195.  
  196. ################################################################################
  197. #                                                                              #
  198. #                           WINDOW PANE DEFINITIONS                            #
  199. #                                                                              #
  200. ################################################################################
  201.  
  202. !!
  203. !! OSF Default Window Menu Description
  204. !!
  205.  
  206. Menu DefaultWindowMenu
  207. {
  208. }
  209.  
  210.  
  211. !!
  212. !! SGI 4Dwm Window Menu Description
  213. !!
  214.  
  215. Menu 4DwmWindowMenu
  216. {
  217. }
  218.  
  219. !!
  220. !!  END OF 4Dwm RESOURCE DESCRIPTION FILE
  221. !!
  222.